﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArmyCreator.ViewModel
{
    public class CategoryViewModel : ModelObject
    {
        public string Name
        {
            get { return GetValue<string>("name", null); }
            set { SetValue("name", value); }
        }

        public UnitViewModel[] Units
        {
            get { return GetValue<UnitViewModel[]>("units", new UnitViewModel[0]); }
            set { SetValue("units", value); }
        }
    }
}
